using System;
using QGameFramework.QReferencePool;

public class ResourceInfo : IReference
{
    /// <summary>
    /// 资源ID
    /// </summary>
    public string m_Path;

    /// <summary>
    /// 资源
    /// </summary>
    public byte[] m_Resources;

    /// <summary>
    /// 资源引用
    /// </summary>
    public int m_ReferenceCount;

    /// <summary>
    /// 上次使用事件
    /// </summary>
    public DateTime m_LastAccessTime;


    public void Clear()
    {
        m_Path = null;
        m_Resources = null;
        m_ReferenceCount = 0;
    }
}